// 后台 订单模块 的axios封装 发请求

import myaxios from './MyAxios.js'

// 服务器地址
const baseUrl = "http://43.136.172.73/api/v1/"

const findingApi = {
	// 查询发现页文章列表
	queryAllOrder() {
		let url = baseUrl + '/reservation/selectAll'
		return myaxios.get(url)
	},
	// 查询不同状态预约单
	queryOrderList(params) {
		let url = baseUrl + '/reservation/getReservationStateList';
		return myaxios.post(url, params);
	},
	// 查询预约单
	getorder(params) {
		let url = baseUrl + '/reservation/queryBackReservation/' + params
		return myaxios.get(url);
	}


}

export default findingApi;